Saltar al contenido principal
WEBHOOK

Encabezados

X-Cufea-Signature
string
requerido

t=<unix seconds>,v1=<hex>: HMAC-SHA256 of {t}.{raw body} with the endpoint's signing secret.

X-Cufea-Delivery
string
requerido

Id of this delivery (one per event and endpoint).

X-Cufea-Event
string
requerido

The event type, as type.

Cuerpo

application/json

One event delivery. The body is compact JSON with sorted keys, signed as sent.

created_at
string<date-time>
requerido

When the event was emitted.

data
WebhookEventData · object
requerido

Ids and DIAN outcome codes only: never a NIT, a name, an e-mail or a secret.

id
string<uuid>
requerido

Event id. Retries of one delivery repeat it; deduplicate on it.

type
enum<string>
requerido
Opciones disponibles:
invoice.accepted,
invoice.rejected,
note.accepted,
note.rejected,
event.registered,
invoice.delivered,
invoice.delivery_failed,
note.delivered,
note.delivery_failed

Respuesta

Any 2xx marks the delivery delivered.